/**
 * @project_name staff_vehicle
 * @package_name com.ssh.dao
 * @desc interface , operate MvehicleTable table
 * @param
 * @author jack
 * @date 2013-4-22
 * @time 下午8:38:33
 */
package com.ssh.dao;

import java.util.List;

import com.ssh.entity.MvehicleTable;
import com.ssh.model.pdata.MvehicleVisitAllData;

/**
 * @author jack
 * @MVV Means   military vehicle visitor
 */
public interface MvehicleTableDAOI {
	public MvehicleTable queryMVVById(String mVVisitorId);
	public MvehicleTable updateMVV(MvehicleTable mVVisitor);
	public int deleteMVVById(String mVVisitorId);
	public MvehicleTable addMVV(MvehicleTable mVVisitor);
	public List<MvehicleTable> queryMVV(String ...mVVisitors);
	public int updateMVV(MvehicleTable ...mVVisitors);
	public int deleteMVV(String ...mVVisitor);
	public int addMVV(MvehicleTable ...mVVisitor);
	/**
	 * @param mVVisitorId
	 * @param vehicleId
	 * @return MvehicleTable object
	 */
	public List<MvehicleTable> queryMVVByVVId(String mVVisitorId, String vehicleId);
	/**
	 * @param mVVisitorId
	 * @param vehicleId
	 * @param mvehicleState
	 * @return
	 */
	public MvehicleTable queryMVVByVVId(String mVVisitorId, String vehicleId,
			String mvehicleState);
	/**
	 * @param mVVisitorId
	 * @param vehicleId
	 * @return MvehicleTable object
	 */
	public MvehicleTable queryMVVByVIdIn(String mVVisitorId, String vehicleId);
	/**
	 * @param mVVisitorId
	 * @param vehicleId
	 * @param state
	 * @return 查询某一来访军车相关信息
	 */
	public MvehicleVisitAllData queryAllInfo(String mVVisitorId, String vehicleId,
			String state);
	/**
	 * @param vehicleId
	 * @param state
	 * @return
	 */
	public MvehicleTable queryMVVByVVIdState(String vehicleId, String state);
	/**
	 * @param vehicleId
	 * @param state
	 * @return
	 */
	public MvehicleVisitAllData queryAllInfo(String vehicleId, String state);
}
